package com.yan.demo04;

import net.sf.cglib.proxy.CallbackFilter;

import java.lang.reflect.Method;

/**
 * @author yanheng
 * @data 2020/1/19 15:57
 */
public class CglibProxyClassFilter implements CallbackFilter {
    @Override
    public int accept(Method method) {
        if (method.getName().equals("count")){
            return 0;
        }
        return 0;
    }
}
